ihelpuoo.weboo.runtime.ActionHTML = function()
{
	this.shell = document.createElement("DIV");
	this.icon = document.createElement("IMG");
	this.title = document.createElement("A");
	this.icon.className = "icon16";	
	this.icon.src = ihelpuoo.http.server().icon("002.gif");
	this.title.href = ihelpuoo.http.server().blankHref;
	this.title.className = "menu2";
	this.shell.appendChild(this.icon);
	this.shell.appendChild(this.title);
	
	this.eventHandler = new ihelpuoo.weboo.runtime.ActionEventHandler();
	ihelpuoo.event.add(this.title,"click",this.eventHandler.loadActionDetail);
}

ihelpuoo.weboo.runtime.ActionHTML.prototype
=
{
	setName: function(name)
	{
		this.title.innerHTML = name;
	}
	
	,
	setModuleName: function(name)
	{
		this.title.setAttribute("module",name);
	}
	
	,
	highlight: function()
	{
		this.shell.className = "ashell_hightlight";
	}
	
	,
	dishighlight: function()
	{
		this.shell.className = "ashell";
	}
}